<template>
  <div class="home">
    <h3>欢迎来到首页</h3>
    <div class="content">
      <p>这是一个Vue3路由测试项目的首页</p>
      <div class="features">
        <div class="feature-item">
          <h4>🚀 Vue3</h4>
          <p>使用最新的Vue3 Composition API</p>
        </div>
        <div class="feature-item">
          <h4>⚡ TypeScript</h4>
          <p>完整的TypeScript支持</p>
        </div>
        <div class="feature-item">
          <h4>🎨 现代化UI</h4>
          <p>美观的界面设计</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup name="Home">
</script>

<style scoped>
.home {
  text-align: center;
  padding: 20px;
}

h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 2em;
}

.content p {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 200px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item h4 {
  color: #667eea;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.feature-item p {
  color: #666;
  margin: 0;
}
</style>
